package com.hx.hospital.service;


import com.hx.common.result.PageResult;
import com.hx.hospital.pojo.Banner;

import java.util.*;

/**
 * banner业务逻辑层
 */
public interface BannerService {


    public List<Banner> findAll();


    public PageResult<Banner> findPage(int page, int size);


    public List<Banner> findList(Map<String, Object> searchMap);


    public PageResult<Banner> findPage(Map<String, Object> searchMap, int page, int size);


    public Banner findById(Long id);

    public void add(Banner banner);


    public void update(Banner banner);


    public void delete(Long id);

}
